<?php 
if (defined('DB_HOST')) return; 
if ($_SERVER['HTTP_HOST']=="http://sangam.yourhost.com")
{	
}
else
{
	define('DB_HOST','localhost');
	define('DB_NAME','sangam');
	define('DB_USER','root');
	define('DB_PASS','');

}
?>
